package org.huang.exception;

/**
 * @描述：BizException类描述
 * @作者: huanganwei
 * @创建时间: 2018-11-15 23:43:30
 * @版本: 1.0
 */
public class BizException extends RuntimeException {
    BizExcStatus bizExcStatus;
    public BizException() {
        super();
    }
    public BizException(BizExcStatus bizExcStatus){
        super(bizExcStatus.getMessage());
        this.bizExcStatus = bizExcStatus;
    }
    public BizExcStatus getBizExcStatus() {
        return bizExcStatus;
    }
    public BizException(String message) {
        super(message);
    }
    public BizException(String message, Throwable cause) {
        super(message, cause);
    }
    public BizException(Throwable cause) {
        super(cause);
    }
}
